<template>
    <div class="an-play-success">
        <div class="an-box-bg">
            <van-icon name="success" size="80"/>
        </div>
        <div class="an-box">
            <div class="an-title">支付成功！</div>
            <div class="an-subtitle">您的订单已支付成功，卖家正在准备发货~</div>
        </div>

        <div class="an-btn">
            <van-button type="success" round  to="/">返回首页</van-button>
        </div>
    </div>
</template>

<style lang="scss" scoped>
.an-play-success{
    height: 100%;
    background: #ffffff;
    .an-box-bg{
        color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 200px;
        background-image: linear-gradient(to bottom right, #5fe29e, #019029);
        border-top-left-radius: 150px;
        border-bottom-left-radius: 150px;
        border-bottom-right-radius: 150px;
    }
    .an-box{
        padding: 20px;
        text-align: center;
        .an-title{
            font-size: 18px;
            padding: 10px;
        }
    }
    .an-btn{
        margin: 50px;
        text-align: center;
    }
}
</style>